
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/143/css/snower.css" media="all" />
<link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/143/css/common.css" media="all" />
<link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/143/css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/143/css/font-awesome.css" media="all" />
<link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/143/css/home-48.css" media="all" />
<script type="text/javascript" src="{pigcms::RES}/css/143/js/maivl.js"></script>
<script type="text/javascript" src="{pigcms::RES}/css/143/js/jQuery.js"></script>
<script type="text/javascript" src="{pigcms::RES}/css/143/js/zepto.js"></script>
<script type="text/javascript" src="{pigcms::RES}/css/143/js/swipe.js"></script>
<title>{pigcms:$tpl.wxname}</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
        <!-- Mobile Devices Support @begin -->
            <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
            <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
            <meta content="no-cache" http-equiv="pragma">
            <meta content="0" http-equiv="expires">
            <meta content="telephone=no, address=no" name="format-detection">
            <meta content="width=device-width, initial-scale=1.0" name="viewport">
            <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
            <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
        <!-- Mobile Devices Support @end -->
    </head>
    <body onselectstart="return true;" ondragstart="return false;">
        <!--背景音乐-->
    <if condition="$homeInfo['musicurl'] neq false"><include file="Index:music"/></if>
        <script>
	$().ready(function(){
		$("#list_ul a").on("touchstart", function(){
			this.className = "active";
		}).on("touchend", function(){
			this.className = "";
		});
	});
</script>

<div class="body">
		<!--
	幻灯片管理
	-->
	<div style="-webkit-transform:translate3d(0,0,0);">
		<div id="banner_box" class="box_swipe">
			<ul>
<volist name="flash" id="so">
<li><a href="{pigcms:$so.url|htmlspecialchars_decode}"><img src="{pigcms:$so.img}" alt="{pigcms:$so.info}" style="width:100%;" border="0"/></a></li>
</volist>
							</ul>
			<ol>
            <volist name="flash" id="so">
			<li<if condition="$i eq 1"> class="on"</if>></li>
			</volist>
			</ol>
		</div>
	</div>
		<script>
		$(function(){
			new Swipe(document.getElementById('banner_box'), {
				speed:500,
				auto:3000,
				callback: function(){
					var lis = $(this.element).next("ol").children();
					lis.removeClass("on").eq(this.index).addClass("on");
				}
			});
		});
	</script>
<header>
        <div class="snower">
            <script type="text/javascript"></script>
            <script type="text/javascript" src="{pigcms::RES}/css/143/js/snower.js"></script>
        </div>
    </header> 	<section>
	<div>
			<ul id="list_ul" class="list_ul">
			<li class="box">
	<volist name="info" id="vo">
	<?php $xx=count($info); ?>
	<php> $ii++; </php>
		
			
								
										<dl>
													<a href="<if condition="$vo['url'] eq ''">{pigcms::U('Home/Addons/execute?_addons=WeiSite&_controller=WeiSite&_action=lists',array('classid'=>$vo['id'],'token'=>$vo['token']))}<else/>{pigcms:$vo.url|htmlspecialchars_decode}</if>">
													<dd>
								<div>
									<span class="icon-smile1"><img src="{pigcms:$vo.img}" style="height:50%;width:50%"></span>
								</div>
							</dd>
							<dt>{pigcms:$vo.name}</dt>
						</a>
					</dl>
														
									<php>if ($ii%3==0 & $ii!=$xx){echo "</li><li class='box'>";}</php>
												</volist></li>

			</ul>
		</div>
	</section>
</div>
<!--
导航菜单
   后台设置的快捷菜单
-->

<!--
分享前控制
-->
	<script>
		document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
		
			// 发送给好友
			WeixinJSBridge.on('menu:share:appmessage', function (argv) {
				WeixinJSBridge.invoke('sendAppMessage', {
					"img_url": window.shareData.imgUrl,
					"img_width": "640",
					"img_height": "640",
					"link": window.shareData.sendFriendLink,
					"desc": window.shareData.fContent,
					"title": window.shareData.fTitle
				}, function (res) {
					_report('send_msg', res.err_msg);
				})
			});

			// 分享到朋友圈
			WeixinJSBridge.on('menu:share:timeline', function (argv) {
				WeixinJSBridge.invoke('shareTimeline', {
					"img_url": window.shareData.imgUrl,
					"img_width": "640",
					"img_height": "640",
					"link": window.shareData.timeLineLink,
					"desc": window.shareData.tContent,
					"title": window.shareData.tTitle
				}, function (res) {
					_report('timeline', res.err_msg);
				});
			});

			// 分享到微博
			WeixinJSBridge.on('menu:share:weibo', function (argv) {
				WeixinJSBridge.invoke('shareWeibo', {
					"content": window.shareData.wContent,
					"url": window.shareData.weiboLink
				}, function (res) {
					_report('weibo', res.err_msg);
				});
			});
		}, false)
	</script>
 <div class="copyright" style="text-align:center;"><if condition="$iscopyright eq 1">{pigcms:$homeInfo.copyright}<else/>{pigcms:$siteCopyright}</if></div>
<include file="Index:styleInclude"/> </footer>
				<div mark="stat_code" style="width:0px; height:0px; display:none;">
					</div>
	</body>
</html>